package com.yykj.user.center.server.service.patient;

import com.yykj.user.center.server.dto.AddressDTO;
import com.yykj.user.center.server.form.AddressForm;
import com.yykj.user.center.server.form.DeleteAddressForm;
import com.yykj.user.center.server.form.UpdateAddressForm;

import java.util.List;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/11/5 21:10
 */
public interface AddressService {

    AddressDTO info(String id);

    Boolean update(UpdateAddressForm updateAddressForm);

    Boolean insert(AddressForm addressForm);

    List<AddressDTO> list(String patientCardId);

    Boolean delete(DeleteAddressForm deleteAddressForm);
}
